package com.qqtop10.manager.dao;


import java.util.List;

import com.qqtop10.manager.model.Coupon;
import com.qqtop10.manager.model.CouponGoods;
import com.qqtop10.manager.model.CouponShop;
import com.qqtop10.manager.model.CouponShopAdd;
import com.qqtop10.manager.model.CouponUser;
import com.qqtop10.manager.model.PageCoupon;
import com.qqtop10.manager.model.PlatFormCouponDetails;

public interface CouponMapper {
	List<CouponUser> getUserCoupon(PageCoupon pageCoupon);
	
	List<CouponShop> getShopCoupon(PageCoupon pageCoupon);
	
	List<Coupon> getAllCoupon(PageCoupon pageCoupon);
	
	Coupon getOneCouponByUUID(String uuid);
	
	void addCouponInfo(CouponShopAdd coupon);
	
	void addShopCoupon(List<CouponShop> couponShop);
	
	void addUserCoupon(CouponUser couponUser);
	
	void addGoodsCoupon(List<CouponGoods> couponGoods);
	
	String selectUUIDByID(int id);
	
	int deleteById(String uuid);
	
	int deleteCouponUserByCouponUUID(String uuid);
	
	List<PlatFormCouponDetails> selectPlatFormCouponDetails();
}
